
// h file

#ifndef _dph_h
#define _dph_h

#pragma comment(lib, "Kernel32.lib")
#pragma comment(lib,"User32.lib")
#pragma comment(lib, "dpdl_win32.lib")
#pragma comment(lib, "EasyXw.lib")
#pragma comment(lib, "Shell32.lib")
#include <Windows.h>

#ifdef __cplusplus
#define _DPHAPI extern "C" __declspec(dllimport)
#else
#define _DPHAPI __declspec(dllimport)
#endif

_DPHAPI void   initdpdl();
_DPHAPI void   setState(int a);
_DPHAPI int    getStatr();
_DPHAPI void   setUIStat(int a);
_DPHAPI int    getUIStat();
_DPHAPI void   setIconStat(int a);
_DPHAPI int    getIconStat(int a);
_DPHAPI double getcpu();
_DPHAPI long   getmem();

#define DPST_SHOW  1
#define DPST_HIDE  2
#define DPST_CLOSE 3

#define DPUIST_OK  1
#define DPUIST_ERR 2

#define DPICST_OK  1
#define DPICST_END 2

#endif